package bean;

import java.sql.Date;
import java.sql.Time;


/**
 * @author 栋
 * @date 2022/11/7
 * @description 投诉信息类
 */
public class Complaint {
    private Integer complaint_id;//投诉信息id
    private String user1_id;//投诉者id
    private String user2_id;//被投诉者id
    private String introduce;//投诉原因
    private Date com_date;//投诉日期
    private Time com_time;//投诉时间
    private String admin_id;//管理员id

    public Complaint() {
    }

    public Complaint(Integer complaint_id, String user1_id, String user2_id, String introduce, Date com_date, Time com_time, String admin_id) {
        this.complaint_id = complaint_id;
        this.user1_id = user1_id;
        this.user2_id = user2_id;
        this.introduce = introduce;
        this.com_date = com_date;
        this.com_time = com_time;
        this.admin_id = admin_id;
    }

    public Integer getComplaint_id() {
        return complaint_id;
    }

    public void setComplaint_id(Integer complaint_id) {
        this.complaint_id = complaint_id;
    }

    public String getUser1_id() {
        return user1_id;
    }

    public void setUser1_id(String user1_id) {
        this.user1_id = user1_id;
    }

    public String getUser2_id() {
        return user2_id;
    }

    public void setUser2_id(String user2_id) {
        this.user2_id = user2_id;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Date getCom_date() {
        return com_date;
    }

    public void setCom_date(Date com_date) {
        this.com_date = com_date;
    }

    public Time getCom_time() {
        return com_time;
    }

    public void setCom_time(Time com_time) {
        this.com_time = com_time;
    }

    public String getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(String admin_id) {
        this.admin_id = admin_id;
    }

    @Override
    public String toString() {
        return "Complaint{" +
                "complaint_id='" + complaint_id + '\'' +
                ", user1_id='" + user1_id + '\'' +
                ", user2_id='" + user2_id + '\'' +
                ", introduce='" + introduce + '\'' +
                ", com_date=" + com_date +
                ", com_time=" + com_time +
                ", admin_id='" + admin_id + '\'' +
                '}';
    }
}
